import request from '@/utils/request'

// 获取客户列表
export const getCustomerList = (params) => request.get('/customers', { params })

// 添加客户
export const addCustomer = (data) => request.post('/customers', data)

// 更新客户
export const updateCustomer = (data) => request.put('/customers', data)

// 根据ID查询客户
export const queryByIdApi = (id) => request.get(`/customers/${id}`)



